lib/pull: Check whether summary is in normal form when loading it
authorPhilip Withnall <withnall@endlessm.com>
Mon, 19 Jun 2017 14:58:08 +0000 (15:58 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 19:19:32 +0000 (19:19 +0000)
commit4c238c350d4b910d40b92be8f6f7b226f79da0b8
tree0c7e9dd732f1fba7aa23aea3979806bf883a0838
parenteb4887d619002932b348496c5613424b0ee120e0
lib/pull: Check whether summary is in normal form when loading it

Check that it’s in normal form and has the correct type when loading it,
since it could come from an untrusted source.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #961
Approved by: cgwalters
src/libostree/ostree-repo-pull.c